package diertian;

import java.util.Scanner;

public class lianxi1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入两个数");
        int num1,num2 ,max;
        num1=scanner.nextInt();
        num2=scanner.nextInt();
        max=0;
        if (num1>num2){
            max=num1;
        } else{
           max=num2;
        }
        System.out.println("最大值为:"+max);
    }
}
